# 读取文件的封装
import json

# config.BASE_DIR+"/ihrm_login.json"
class ReadUtil:
    @classmethod
    def read_data(cls,file_path):
        with open(file_path,"r",encoding="utf-8") as f:
            data = json.load(f)
        list_data = []
        for item in data:
            temp = tuple(item.values())
            list_data.append(temp)
        return list_data

